package com.chart.chart.domian;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chart.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 图表主题信息表 ChartTheme
 *
 * @author ruoyi
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChartTheme extends BaseEntity {

    private static final long serialVersionUID = 1L;
    /**
     * 参数主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 主题名称
     */
    private String themeName;

    /**
     * 主题配置
     */
    private String themeValue;

    /**
     * 主题类型
     */
    private Integer themeType;

    private Integer sort;

    private Integer save;

    private Integer export;


    @TableField(exist = false)
    private List<String> colors; // 存储颜色的字段

    private Boolean isDefault;

}
